package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_USER
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreUser extends TableBaseBO implements Serializable {


    /**
     * 用户帐号
     */
    private String userCode;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 用户真实姓名
     */
    private String userRealName;

    /**
     * 用户人员信息编码
     */
    private String userPersonCode;

    /**
     * 用户显示名称
     */
    private String userDisplayName;

    /**
     * 用户手机
     */
    private String userMobile;

    /**
     * 用户办公室电话
     */
    private String userOfficeHpone;

    /**
     * 用户个人说明
     */
    private String userDesc;

    /**
     * 用户是否删除（0：正常；1：已删）
     */
    private String userDelFlag;

    /**
     * 是否在职（0：正常-审核通过；1：离职-审核拒绝,2：初始化  ）
     */
    private String userJobFlag;

    /**
     * 短信验证码
     */
    private String userMobileCode;

    /**
     * 短信发送时间
     */
    private Date userMobileSendTime;

    /**
     * 用户状态
     */
    private String userStatus;


    private static final long serialVersionUID = 1L;



    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName == null ? null : userRealName.trim();
    }

    public String getUserPersonCode() {
        return userPersonCode;
    }

    public void setUserPersonCode(String userPersonCode) {
        this.userPersonCode = userPersonCode == null ? null : userPersonCode.trim();
    }

    public String getUserDisplayName() {
        return userDisplayName;
    }

    public void setUserDisplayName(String userDisplayName) {
        this.userDisplayName = userDisplayName == null ? null : userDisplayName.trim();
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public String getUserOfficeHpone() {
        return userOfficeHpone;
    }

    public void setUserOfficeHpone(String userOfficeHpone) {
        this.userOfficeHpone = userOfficeHpone == null ? null : userOfficeHpone.trim();
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc == null ? null : userDesc.trim();
    }

    public String getUserDelFlag() {
        return userDelFlag;
    }

    public void setUserDelFlag(String userDelFlag) {
        this.userDelFlag = userDelFlag == null ? null : userDelFlag.trim();
    }

    public String getUserJobFlag() {
        return userJobFlag;
    }

    public void setUserJobFlag(String userJobFlag) {
        this.userJobFlag = userJobFlag == null ? null : userJobFlag.trim();
    }

    public String getUserMobileCode() {
        return userMobileCode;
    }

    public void setUserMobileCode(String userMobileCode) {
        this.userMobileCode = userMobileCode == null ? null : userMobileCode.trim();
    }

    public Date getUserMobileSendTime() {
        return userMobileSendTime;
    }

    public void setUserMobileSendTime(Date userMobileSendTime) {
        this.userMobileSendTime = userMobileSendTime;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus == null ? null : userStatus.trim();
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userCode=").append(userCode);
        sb.append(", userPassword=").append(userPassword);
        sb.append(", userRealName=").append(userRealName);
        sb.append(", userPersonCode=").append(userPersonCode);
        sb.append(", userDisplayName=").append(userDisplayName);
        sb.append(", userMobile=").append(userMobile);
        sb.append(", userOfficeHpone=").append(userOfficeHpone);
        sb.append(", userDesc=").append(userDesc);
        sb.append(", userDelFlag=").append(userDelFlag);
        sb.append(", userJobFlag=").append(userJobFlag);
        sb.append(", userMobileCode=").append(userMobileCode);
        sb.append(", userMobileSendTime=").append(userMobileSendTime);
        sb.append(", userStatus=").append(userStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}